﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Ninject;
using Timetable.Base.Entities;
using Timetable.Base.Interfaces.Repositories;
using Timetable.Base.Interfaces.Services.DataServices;
using Timetable.Base.Interfaces.Validators;

namespace Timetable.Host.Services
{
    public class BaseService<T> where T : BaseEntity
    {
        [Inject]
        public IRepository<T> Repository { get; set; }

        [Inject]
        public IValidator<T> Validator { get; set; }
    }
}